import request from '@/config/axios'

export interface supplierVO {
  id: string
  operator: string
  name: string
  remark: string
  operatingTime: Date
}

// 查询列表
export const getmaterialOutbound = (params: PageParam) => {
  return request.get({ url: '/project/kis-materiel-ex-warehouse/page', params })
}

// 导出
export const exportSupplier = (params) => {
  return request.download({ url: '/project/supplier/exportTemplate', params })
}

// 删除供应商
export const deleteSupplier = (id: number) => {
  return request.delete({ url: '/project/supplier/delete?id=' + id })
}